package enums

type enumItem struct {
	Code string
	Text string
}

// system err code < 1000
var (
	Success             = enumItem{Code: "0", Text: "OK"}
	SysError            = enumItem{Code: "0000", Text: "System Error"}
	ParamInvalid        = enumItem{Code: "0001", Text: "Paramter Invalid"}
	AccessDeny          = enumItem{Code: "0002", Text: "Access Denied"}
	AlreadyExist        = enumItem{Code: "0003", Text: "Already Exist"}
	AppExpired          = enumItem{Code: "0004", Text: "App Expired"}
	AppNotFound         = enumItem{Code: "0005", Text: "App NotFound"}
	FileOperationErr    = enumItem{Code: "0006", Text: "Operate File Error"}
	NotAllowedOperation = enumItem{Code: "0007", Text: "Not Allowed Operation"}
	NotExist            = enumItem{Code: "0008", Text: "Not Exist"}
	NotNull             = enumItem{Code: "0009", Text: "Not Null"}
	SignatureIncorrect  = enumItem{Code: "0010", Text: "Signature Incorrect"}
	PreconditionFailed  = enumItem{Code: "0011", Text: "Precondition Failed"}
)
